From: Richard M. Stallman Date: Sun, 22 Aug 2004 16:54:33 +0000 (+0000) Subject: (display-mouse-p, display-selections-p): Use with-no-warnings. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21317 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d0c1be89383fca4b9305c0d637e317d067a205dd;p=emacs.git (display-mouse-p, display-selections-p): Use with-no-warnings. --- diff --git a/lisp/frame.el b/lisp/frame.el index a364d7f491b..8d979cdaff4 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -987,7 +987,8 @@ frame's display)." ((eq frame-type 'pc) (msdos-mouse-p)) ((eq system-type 'windows-nt) - (> w32-num-mouse-buttons 0)) + (with-no-warnings + (> w32-num-mouse-buttons 0))) ((memq frame-type '(x mac)) t) ;; We assume X and Mac *always* have a pointing device (t @@ -1040,7 +1041,8 @@ frame's display)." ((eq frame-type 'pc) ;; MS-DOG frames support selections when Emacs runs inside ;; the Windows' DOS Box. - (not (null dos-windows-version))) + (with-no-warnings + (not (null dos-windows-version)))) ((memq frame-type '(x w32 mac)) t) ;; FIXME? (t